package entity;

import javax.persistence.Column;
import javax.persistence.Id;
import java.io.Serializable;

public class DeliverExample implements Serializable {

    @Id
    @Column(name = "order_id")
    private String orderId;//订单id


    @Id
    @Column(name = "warehouse_id")
    private String warehouseId;//仓库id

    @Column(name = "warehouse_name")
    private String warehouseName;//仓库名字

    @Column(name = "warehouse_phone")
    private String warehousePhone;//仓库联系电话

    @Column(name = "distributer_id")
    private String distributerId;//派件员id


    @Id
    @Column(name = "staff_id")
    private String staffId;//员工ID

    @Column(name = "staff_name")
    private String staffName;//员工姓名

    @Column(name = "staff_phone")
    private String staffPhone;//员工联系方式


    public DeliverExample(String distributerId, String staffName, String staffPhone,String warehouseId, String warehouseName, String warehousePhone) {
        this.warehouseId = warehouseId;
        this.warehouseName = warehouseName;
        this.warehousePhone = warehousePhone;
        this.distributerId = distributerId;
        this.staffName = staffName;
        this.staffPhone = staffPhone;
    }

    public DeliverExample(String staffId, String staffName,String warehouseId, String warehouseName, String staffPhone) {
        this.warehouseId = warehouseId;
        this.warehouseName = warehouseName;
        this.staffId = staffId;
        this.staffName = staffName;
        this.staffPhone = staffPhone;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(String warehouseId) {
        this.warehouseId = warehouseId;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public String getWarehousePhone() {
        return warehousePhone;
    }

    public void setWarehousePhone(String warehousePhone) {
        this.warehousePhone = warehousePhone;
    }

    public String getDistributerId() {
        return distributerId;
    }

    public void setDistributerId(String distributerId) {
        this.distributerId = distributerId;
    }

    public String getStaffId() {
        return staffId;
    }

    public void setStaffId(String staffId) {
        this.staffId = staffId;
    }

    public String getStaffName() {
        return staffName;
    }

    public void setStaffName(String staffName) {
        this.staffName = staffName;
    }

    public String getStaffPhone() {
        return staffPhone;
    }

    public void setStaffPhone(String staffPhone) {
        this.staffPhone = staffPhone;
    }
}
